﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class ABBarCodeChangeDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ABBarCodeChangeRequestDto
    {
        /// <summary>
        /// 描述 : 组织代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "change_type")]
        public string change_type { get; set; }

        /// <summary>
        /// 描述 : 组织代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }
        /// <summary>
        /// 描述 : 仓库编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }

        /// <summary>
        /// 描述 : 货位编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "create_user")]
        public string create_user { get; set; }

        /// <summary>
        /// 描述 : 货位编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 : 货位编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_batch")]
        public string source_batch { get; set; }

        /// <summary>
        /// 描述 : 货位编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "packing_size")]
        public string packing_size { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code_t")]
        public string material_code_t { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_batch_t")]
        public string source_batch_t { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ABBarCodeChangeResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

      
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<ABBarCodeChangeResponseData> data { get; set; }

    }

    public class ABBarCodeChangeResponseData
    {
        /// <summary>
        /// 描述 :  仓库编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no_source")]
        public string barcode_no_source { get; set; }

        /// <summary>
        /// 描述 : 仓库名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code_source")]
        public string material_code_source { get; set; }


        /// <summary>
        /// 描述 : 货位编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_batch")]
        public string source_batch { get; set; }


        /// <summary>
        /// 描述 : 货位名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code_target")]
        public string material_code_target { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "target_batch")]
        public string target_batch { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public decimal? material_amount { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no_target")]
        public string barcode_no_target { get; set; }
      
    }
}
